package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LotteryActivity对象", description="")
public class LotteryActivity implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "副标题")
    private String subTitle;

    @ApiModelProperty(value = "封面")
    private String thumb;

    @ApiModelProperty(value = "轮播图")
    private String images;

    @ApiModelProperty(value = "详情图")
    private String detailImages;

    @ApiModelProperty(value = "time为按时间, user_total为按人数, ticket_total为按签号数量开奖")
    private String emitType;

    @ApiModelProperty(value = "触发开奖时间")
    private Date emitTime;

    @ApiModelProperty(value = "触发的参与人数")
    private Integer emitUserTotal;

    @ApiModelProperty(value = "触发的签号数量")
    private Integer emitTicketTotal;

    @ApiModelProperty(value = "人民币价格")
    private Integer moneyPrice;

    @ApiModelProperty(value = "积分价格")
    private Integer scorePrice;

    @ApiModelProperty(value = "访问人数")
    private Integer visitTotal;

    @ApiModelProperty(value = "总期数")
    private Integer sessionTotal;

    @ApiModelProperty(value = "当前期数")
    private Integer currentSession;

    @ApiModelProperty(value = "奖品份数")
    private Integer prizeTotal;

    @ApiModelProperty(value = "剩余库存")
    private Integer stock;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "邀请老用户注册可获得抽奖码数量")
    private Integer oldUserRewardTicket;

    @ApiModelProperty(value = "邀请新用户注册可获得抽奖码数量")
    private Integer newUserRewardTicket;

    @ApiModelProperty(value = "是否强制要求绑定手机号后可参与")
    private Boolean isNeedPhone;

    @ApiModelProperty(value = "参与码")
    private String joinCodes;

    @ApiModelProperty(value = "开始时间")
    private Date startAt;

    @ApiModelProperty(value = "结束时间")
    private Date endAt;

    @ApiModelProperty(value = "权重")
    private Integer listWeight;

    @ApiModelProperty(value = "0已下架 1为已上架")
    private Integer status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "规则")
    private String rule;


}
